Visual Studio Code documentation
Get started with AI agents
Hand off tasks to autonomous AI agents that iterate until the job is done. Run them locally, in the background, or in the cloud, with your choice of AI provider. Track all sessions without leaving VS Code.
Get started →What do you want to do?
Latest
VS Code 1.130 release
Run sessions in a dedicated process, reduce approval interruptions with assisted tool approvals, review multi-file changes faster in the Agents window, and open files directly from Git diffs in the terminal.
Diagnose prompt caching
Use the Cache Explorer to compare model requests, pinpoint where the prompt prefix diverges, and improve your cache hit rate to reduce token cost and latency.
Iterating faster with TypeScript 7
How the VS Code and TypeScript teams collaborated to adopt TypeScript 7, speeding up builds and improving the day-to-day editing loop for both developers and agents.